<?php

namespace app\common\model;

use app\common\basic\BaseModel;
use app\common\basic\BaseNormalModel;

class TransferOrderDetail extends BaseNormalModel
{
    protected $table = 'vk_transfer_order_detail';

    public function orders() {
        return $this->belongsTo(CompanyTransferOrder::class, 't_oid');
    }
    
    public function goods() {
        return $this->belongsTo(Goods::class);
    }
    
    public function spec() {
        return $this->belongsTo(GoodsSpec::class);
    }
    
}